package com.scwatch.core.service;

import com.scwatch.common.orm.RowSide;
import com.scwatch.core.domain.ProgramBackcode;
import com.scwatch.core.domain.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.Map;

/**
 * Created by rh006 on 2017/7/27.
 */
public interface ProgramBackCodeService {

    public Page<ProgramBackcode> findAll(Map<String, String[]> params,
                                         Pageable pageable);

    public RowSide<ProgramBackcode> findSide(Map<String, String[]> params,
                                             ProgramBackcode bean, Integer position, Sort sort);

   /* public List<Program> getList();*/

    public ProgramBackcode get(Integer id);

   /* public String replace(String s);*/

    public ProgramBackcode save(ProgramBackcode bean, Integer siteId, User user);

    public ProgramBackcode update(ProgramBackcode bean);

    public ProgramBackcode delete(Integer id);

    public ProgramBackcode[] delete(Integer[] ids);

    public Page<ProgramBackcode> findAllByProgramDatecheckId(Integer id, Map<String, String[]> params, Pageable pageable);
}
